package com.neu.cpsp.service;

import com.neu.cpsp.pojo.RegulationDetail;
import com.neu.cpsp.pojo.RegulationType;

import java.util.Map;

/**
 * @author neu.xiaojiacheng
 * @version 1.0
 * @date 2022/2/23 18:39
 */
public interface RegulationDetailService {

    public boolean submitAllInfo(RegulationDetail regulationDetail);

    public Map<String, Object> getByTypeId(int pageSize, int currentPage, int id);

    public Map<String, Object> getByTypeIdAndDescribe(int pageSize, int currentPage, int typeId,String describe);

    public int delete(int id);

    public int update(RegulationDetail record);

    RegulationDetail selectByPrimaryKey(Integer id);

    RegulationDetail selectByDescribe(String describe, Integer times);

}
